<?php
// list page
require_once 'view/adm/content/scrolling.index.php';


class ScrollingIndexPage extends PageController {

	var $form;

    function ScrollingIndexPage() {
        parent::PageController();

        $this->form =& new FormController();
        $this->form->addChild('apply', new ButtonController(new Delegate($this, 'apply')));
        $this->form->setDefaultChild('apply');

        $this->addChild('FilterForm', $this->form);
        $this->setDefaultChild('FilterForm');

        $this->setDefaultView(new Handle('ScrollingListView', array('/adm/content/scrolling.index.html')));

        $this->addView('success', WACT_DEFAULT_VIEW);
        $this->addView('notfound', WACT_DEFAULT_VIEW);
        $this->addView('delete', new Handle('RedirectView', array('/delete')));


    }
}

?>